<?php
include_once '../../web_inc.php';
//include_once './check_login.php';    //权限验证文件，正式环境下必须开启！！！
include_once ROOT_PATH.'/config/db_conn.php';
include_once 'inc/gy_info_class.php';
$_SESSION[uid]='47D3NB4678OM43B23P68G34NSD879CBD';

$action=$_GET[action];
$id=$_GET[id];
$openid=$_SESSION[uid];

$title=$_POST[title];
$xj=$_POST[xj];
$price=$_POST[price];
$content=$_POST[content1];
$qq=$_POST[qq];
$tel=$_POST[tel];



if($action=='gy'){
	$upinfo=new getInfo_gy();
	$upinfo->gy_update($title,$xj,$price,$content,$qq,$tel,$openid,$id);
}


?>